home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 7
/
FM Towns Free Software Collection 7.iso
/
taropyon
/
zmodem
/
src
/
szhelp.c
< prev
next >
Wrap
Text File
|
1993-11-30
|
3KB
|
69 lines
static char *babble[] =
{
"Send file(s) with ZMODEM/YMODEM/XMODEM Protocol",
" (Y) = Option applies to YMODEM only",
" (Z) = Option applies to ZMODEM only",
#ifdef __TOWNS__
"Usage: sz [-2+abdefkLlNnquvwYy] [-] file ... (ZMODEM)",
" sz $sb [-2adfkquv] [-] file ... (YMODEM)",
" sz $sx [-2akquv] [-] file (XMODEM)",
#else
"Usage: sz [-2+abdefkLlNnquvwYy] [-] file ...",
" sz [-2Ceqv] -c COMMAND",
" sb [-2adfkquv] [-] file ...",
" sx [-2akquv] [-] file",
#endif
#ifdef CSTOPB
" 2 Use 2 stop bits",
#endif
" + Append to existing destination file (Z)",
" a (ASCII) change NL to CR/LF",
" b Binary file transfer override",
#ifndef __TOWNS__
" c send COMMAND (Z)",
#endif
" d Change '.' to '/' in pathnames (Y/Z)",
" e Escape all control characters (Z)",
" f send Full pathname (Y/Z)",
#ifndef __TOWNS__
" i send COMMAND, ack Immediately (Z)",
#endif
" k Send 1024 byte packets (Y)",
" L N Limit subpacket length to N bytes (Z)",
" l N Limit frame length to N bytes (l>=L) (Z)",
" n send file only if source newer (Z)",
" N send file only if source newer or longer (Z)",
" o Use 16 bit CRC instead of 32 bit CRC (Z)",
" p Protect existing destination file (Z)",
" r Resume/Recover interrupted file transfer (Z)",
" q Quiet (no progress reports)",
" u Unlink (remove) file after transmission",
" v Verbose - provide debugging information",
" w N restrict Window to N bytes (Z)",
" Y Yes, overwrite existing file, skip if not present at rx (Z)",
" y Yes, overwrite existing file (Z)",
" Z Activate ZMODEM compression (Z)",
""
};
static void usage(void)
{
char **pp;
#ifdef __TOWNS__
USR_fprintf(stderr, "\n" );
USR_fprintf(stderr, "sz ver.%s #%s for TownsOS by TaroPYON\n", MAIN_VER, EDITION_NUMBER );
USR_fprintf(stderr, " orignal by Chuck Forsberg, Omen Technology INC\n", VERSION);
USR_fprintf(stderr, " \042The High Reliability Software\042\n");
USR_fprintf(stderr, "\n" );
#else
USR_fprintf(stderr, "%s for %s by Chuck Forsberg, Omen Technology INC\n",
VERSION, OS);
USR_fprintf(stderr, "\t\t\042The High Reliability Software\042\n");
#endif
for (pp = babble; **pp; ++pp)
USR_fprintf(stderr, "%s\n", *pp);
// cucheck();
EXIT(0);
}